#include<iostream>
#include<stdio.h>
using namespace std;



int main()
{
    const unsigned int MAXSIZE = 10;
    int a[MAXSIZE] = {1,2,3,4,5,6,7,8,9,10};
    for(int *nBegin = a, *end = a + MAXSIZE; nBegin != end; nBegin++)
    {
        cout << "a" << "[" << nBegin - a << "]" << " = " << *nBegin << endl;
    }
	getchar();
    return 0;

}

